<script setup>
import TitleValue from '@components/TitleValue'
import { common, service } from '@utils'
const props = defineProps({
    data: Object,
    statuss: Array,
    expressMethods: Array,
    expressCompanys: Array
})
const goTrue = () => {
    service.bfqz.deliverOrder({orderId: props.data.orderId}).then((res) => {
        if (res) {
            res = encodeURI(JSON.stringify(res))
            // window.open('https://www.txz1688.com/table.html?res' + res, '_blank');
            window.open(`/table.html?res${res}`, '_blank');
        }
    })
}
</script>

<template>
    <el-row :gutter="16" >
        <el-col :span="6">
            <title-value title="物流单号:" :value="data.sendLogisticsNumber" />
        </el-col>
        <el-col :span="4">
            <el-button type="primary" size="small" @click="goTrue">
                交付确认单
            </el-button>
        </el-col>
    </el-row>
</template>